Home | Trees | Index | Help |
---|
Package i2p :: Module samclasses :: Class RawSession |
|
BaseSession
--+
|
RawSession
Method Summary | |
---|---|
__init__(self,
name,
addr,
**kwargs)
| |
Number of packets in read buffer. | |
Internal method, got RAW RECEIVED. | |
Identical to DatagramSocket.recv. | |
Send packet with contents s to given destination. | |
Inherited from BaseSession | |
Internal command, encode extra kwargs for passing to SESSION CREATE. | |
Internal command, handshake with SAM terminal. | |
Internal command, does a NAMING LOOKUP query. | |
Internal command, got HELLO REPLY. | |
Internal command, got NAMING REPLY. | |
Internal command, got SESSION STATUS. | |
Internal command, call at end of __init__ to set up properties. | |
Close the session. |
Method Details |
---|
__len__(self)
Number of packets in read buffer.
|
_on_RAW_RECEIVED(self, **kwargs)Internal method, got RAW RECEIVED. |
recv(self, timeout=None, peek=False)Identical to DatagramSocket.recv. The from address is an empty string. |
send(self, s, dest)Send packet with contents s to given destination. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 02 01:07:41 2004 | http://epydoc.sf.net |